﻿using SqlSugar;

namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 筛查记录体征
    /// </summary>
    [SugarTable("sift_screensigns", TableDescription = "筛查记录体征")]
    public class SiftScreenSigns
    {
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
        /// 病人id
        /// </summary>
        [SugarColumn(ColumnName = "PatientId", IsIdentity = true, IsPrimaryKey = true)]
        public string? PatientId { get; set; }

        /// <summary>
        /// 筛查次数
        /// </summary>
        //[SugarColumn(ColumnName = "SiftNo", IsIdentity = true, IsPrimaryKey = true)]
        //public int SiftNo { get; set; }

        /// <summary>
        /// 血压
        /// </summary>
        [SugarColumn(ColumnName = "BloodPressure")]
        public string? BloodPressure { get; set; }
        /// <summary>
        /// 舒张压
        /// </summary>
        [SugarColumn(ColumnName = "BloodDbp")]
        public string? BloodDbp { get; set; }
        /// <summary>
        /// 收缩压
        /// </summary>
        [SugarColumn(ColumnName = "BloodSbp")]
        public string? BloodSbp { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public string? CreateDate { get; set; }

        /// <summary>
        /// 筛查随访
        /// </summary>
        [SugarColumn(ColumnName = "SiftFllow")]
        public string? SiftFllow { get; set; }

        /// <summary>
        /// 随访id
        /// </summary>
        [SugarColumn(ColumnName = "FllowId")]
        public string? FllowId { get; set; }

        /// <summary>
        /// 血糖值 
        ///</summary>
        [SugarColumn(ColumnName = "BloodSuage")]
        public decimal? BloodSuage { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? RemarksHypertension {  get; set; }
        /// <summary>
        /// 筛查单号
        /// </summary>
        [SugarColumn(ColumnName = "ScreeningCode")]
        public string? ScreeningCode { get; set; }

    }
}
